home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d18 / lzhtv10.arc / TOOLS.PAS < prev    next >
Pascal/Delphi Source File  |  1989-04-21  |  4KB  |  93 lines

  1.  
  2. (*
  3.  * Copyright 1987, 1989 Samuel H. Smith;  All rights reserved
  4.  *
  5.  * This is a component of the ProDoor System.
  6.  * Do not distribute modified versions without my permission.
  7.  * Do not remove or alter this notice or any other copyright notice.
  8.  * If you use this in your own program you must distribute source code.
  9.  * Do not use any of this in a commercial product.
  10.  *
  11.  *)
  12.  
  13. (*
  14.  * Top level unit for the Tool Shop Tools Library
  15.  *
  16.  *)
  17.  
  18. {$i prodef.inc}
  19.  
  20. unit Tools;
  21.  
  22. interface
  23.  
  24.    uses Dos, MDosIO, OpenShare;
  25.  
  26.    {$I g:\tinc\anystring.inc}  (* general string declaration *)
  27.    {$I g:\tinc\givetime.int}   (* give up time under doubledos *)
  28.    {$I g:\tinc\ftoa.int}       (* float to ascii conversion *)
  29.    {$I g:\tinc\atof.int}       (* ascii to float conversion *)
  30.    {$I g:\tinc\atoi.int}       (* ascii to integer conversion *)
  31.    {$I g:\tinc\itoa1.int}      (* integer to ascii conversion *)
  32.    {$I g:\tinc\stof.int}       (* basic single to floating conversion *)
  33.    {$I g:\tinc\stoa.int}       (* single to ascii conversion *)
  34.    {$I g:\tinc\dtof.int}       (* basic double to floating conversion *)
  35.    {$I g:\tinc\itoh.int}       (* integer to hex conversion *)
  36.    {$I g:\tinc\itou.int}       (* integer to unsigned-real conversion *)
  37.    {$I g:\tinc\ltor.int}       (* long-integer to real conversion *)
  38.    {$I g:\tinc\rempath.int}    (* remove/manipulate filename paths *)
  39.    {$I g:\tinc\iswild.int}     (* is a filename a wildcard? *)
  40.    {$I g:\tinc\stoupper.int}   (* map string to upper case *)
  41.    {$I g:\tinc\filesize.int}   (* get size of a file *)
  42.    {$I g:\tinc\pattern.int}    (* wildcard filename pattern comparison *)
  43.    {$I g:\tinc\sysdate2.int}   (* get system time string formats, mm-dd-yy & hh:mm *)
  44.    {$I g:\tinc\gettime.int}    (* get system time in seconds *)
  45.    {$I g:\tinc\delay.int}      (* delay function based on give-up-time and gettime *)
  46.    {$I g:\tinc\delspace.int}   (* delete all spaces from a string *)
  47.    {$I g:\tinc\replstr.int}    (* perform string replacements *)
  48.    {$I g:\tinc\getenv.int}     (* get environment variables *)
  49.    {$I g:\tinc\varstr.int}     (* variable allocation string library *)
  50.    {$I g:\tinc\getfile3.int}   (* expand wildcard file lists *)
  51.    {$I g:\tinc\ljust.int}      (* left justify strings *)
  52.    {$I g:\tinc\bitmap.int}     (* manipulate bit maps *)
  53.    {$I g:\tinc\flags.int}      (* manipulate bit flags *)
  54.    {$I g:\tinc\appendc.int}    (* append character to string *)
  55.  
  56.  
  57. implementation
  58.  
  59.    {$I g:\tinc\givetime.inc}   (* give up time under doubledos *)
  60.    {$I g:\tinc\ftoa.inc}       (* float to ascii conversion *)
  61.    {$I g:\tinc\atof.inc}       (* ascii to float conversion *)
  62.    {$I g:\tinc\atoi.inc}       (* ascii to integer conversion *)
  63.    {$I g:\tinc\itoa1.inc}      (* integer to ascii conversion *)
  64.    {$I g:\tinc\stof.inc}       (* basic single to floating conversion *)
  65.    {$I g:\tinc\stoa.inc}       (* single to ascii conversion *)
  66.    {$I g:\tinc\dtof.inc}       (* basic double to floating conversion *)
  67.    {$I g:\tinc\itoh.inc}       (* integer to hex conversion *)
  68.    {$I g:\tinc\itou.inc}       (* integer to unsigned-real conversion *)
  69.    {$I g:\tinc\ltor.inc}       (* long-integer to real conversion *)
  70.    {$I g:\tinc\rempath.inc}    (* remove/manipulate filename paths *)
  71.    {$I g:\tinc\iswild.inc}     (* is a filename a wildcard? *)
  72.    {$I g:\tinc\stoupper.inc}   (* map string to upper case *)
  73.    {$I g:\tinc\filesize.inc}   (* get size of a file *)
  74.    {$I g:\tinc\pattern.inc}    (* wildcard filename pattern comparison *)
  75.    {$I g:\tinc\getfile3.inc}   (* expand wildcard file lists *)
  76.    {$I g:\tinc\sysdate2.inc}   (* get system time string formats, mm-dd-yy & hh:mm *)
  77.    {$I g:\tinc\gettime.inc}    (* get system time in seconds *)
  78.    {$I g:\tinc\delay.inc}      (* delay function based on give-up-time and gettime *)
  79.    {$I g:\tinc\delspace.inc}   (* delete all spaces from a string *)
  80.    {$I g:\tinc\replstr.inc}    (* perform string replacements *)
  81.    {$I g:\tinc\getenv.inc}     (* get environment variables *)
  82.    {$I g:\tinc\varstr.inc}     (* variable allocation string library *)
  83.    {$I g:\tinc\ljust.inc}      (* left justify strings *)
  84.    {$I g:\tinc\bitmap.inc}     (* manipulate bit maps *)
  85.    {$I g:\tinc\flags.inc}      (* manipulate bit flags *)
  86.    {$I g:\tinc\appendc.inc}    (* append character to string *)
  87.  
  88.  
  89. begin
  90.    fillchar(filetable,sizeof(filetable),0);
  91. end.
  92.  
  93.